Params_pre = defaultParamsPre();
Params_pre.usePCA = true;
Params_pre.nPCComponents = 20;
Params_pre.elipse = true;
Params_pre.trustVolume = 1.0;


%Params_pre.combineFeaturesFnc ='combineFeaturesToOneVector';

%marek_test

Params_pre2 = defaultParamsPre();
Params_pre2.usePCA = true;
Params_pre2.nPCComponents = 20;
Params_pre2.trustVolume = 1.0;

Params_nn = defaultParamsNN();
Params_nn.eg = 0.02;
Params_nn.display = 1000;

Persons = 10;
runFR(Params_pre2, Params_nn, Persons);
writeNumberErrors(Persons)

%samotne Params_pre ma uspesnost 86.2 %
%samotne Params_pre2 uspesnost 98.6
% Params_pre s Params_pre2 s trust levely 1 maji uspesnost 97.6 %
% Params_pre s Params_pre2 s 
%  Params_pre.combineFeaturesFnc ='combineFeaturesToOneVector';
%    maji uspesnost 97.8 %

